﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace day2
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.Write("请输入您的成绩:");
            int x = Convert.ToInt32(Console.ReadLine()); x /= 10;
            switch (x)
            {
                case 10:
                case 9:
                    Console.WriteLine("您的成绩为A，非常棒! "); break;
                case 8:
                    Console.WriteLine("您的成绩为B，加油!"); break;
                case 7:
                    Console.WriteLine("您的成绩为C"); break;
                case 6:
                    Console.WriteLine("您的成绩为D"); break;
                default:
                    Console.WriteLine("您的成绩为F"); break;
            }

        }
    }
}
